<div>
  <h3 class="first">Basic - ({{checked1}})</h3>
  <p-toggleButton [(ngModel)]="checked1" [style]="{'width':'150px'}"></p-toggleButton>

  <h3>Customized - ({{checked2}})</h3>
  <p-toggleButton [(ngModel)]="checked2" [onLabel]="'I confirm'" offLabel="I reject" onIcon="fa-check-square" offIcon="fa-square" [style]="{'width':'150px'}"></p-toggleButton>
</div>
